import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import './assets/font_4273103_aoib245x3ue/iconfont.css'
import App from './App';
import {Provider} from 'react-redux'
import {store, persistor} from "./store/store";
import {PersistGate} from 'redux-persist/integration/react'
import 'nprogress/nprogress.css';
import ParticleBackground from "./component/ParticleBackground/ParticleBackground";

const root = ReactDOM.createRoot(document.getElementById('root'));

root.render(
    <Provider store={store}>
        <ParticleBackground></ParticleBackground>
        <div style={{position: 'fixed', zIndex: 100}}>
            <PersistGate loading={null} persistor={persistor}>
                <App/>
            </PersistGate>
        </div>

    </Provider>
);

